.dux-designer-editor {
    border: 1px solid #ddd;

    .editor-header {
        background: #fff;
        border-bottom: 1px solid #ddd;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        box-shadow: 0 1px 5px rgba(0, 0, 0, .1);

        .header-items {
            padding: 10px;
        }
        .uk-dropdown {
            padding: 5px;
            border: 1px solid #ccc;
            li {
                &:last-child {
                    border-bottom: none;
                }
                a {
                    padding: 8px 10px;
                    &:hover {
                        background: #f5f5f5;
                    }
                }
            }
        }
    }

    .editor-body {
        background: #f8f8f8;
        padding: 20px;

        .body-layout {
            position: relative;
            background: #fff;
            width: 600px;
            height: 500px;
            margin-left: auto;
            margin-right: auto;
            overflow: hidden;
            .box {
                border: 1px dashed #ccc;
                line-height: 1;
                position: absolute;
                font-size:14px;
                cursor: default;
                overflow: hidden;
                img {
                    width: 100%;
                    height: 100%;
                    border: 0;
                }
                &.active {
                    border: 1px dashed #f00;
                }
                .move {
                    display: block;
                    background: #f00;
                    width: 6px;
                    height: 6px;
                    right: 0;
                    bottom: 0;
                    position: absolute;
                    cursor: nwse-resize;
                }
            }

        }
    }

    .editor-footer {
        display: none;
        background: #fff;
        border-top: 1px solid #ddd;
        height: 30px;
    }
}